package org.suze.springboot.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @description:hello
 * @Date : 上午10:57 2017/9/11
 * @Author : 石冬冬-Heil Hitler(dongdong.shi@mljr.com)
 */
@Controller
@RequestMapping("/hello")
public class HelloController {
    private static final Logger logger = LoggerFactory.getLogger(HelloController.class);
    @ResponseBody
    @RequestMapping("say")
    public Object say(){
        logger.info("hello everybody!!!!");
        logger.error("hello everybody!!!!");
        return "sayHello";
    }
}
